<template>
  <div>
    我是注册页
    <h4>我是query传过来的参数--{{ $route.query.username }}</h4>
    <h4>我是params传过来的参数--{{ $route.params.username }}</h4>
  </div>
</template>
 
<script>
export default {
  name: '',
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {
    // console.log(this.$route.query.username)
    console.log(this.$route)
  },
  methods: {}
}
</script>

<style scoped>
</style>